package config;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication // 开启组件扫描和自动配置
@ComponentScan(basePackages = { "com.example.readinglist.repository" })
public class ReadingListApplication {

	public static void main(String[] args) {
		SpringApplication.run(ReadingListApplication.class, args);// 负责启动和引导应用程序
		// BeanDefinition
	}

}
